<template>
  <div class="hello">
    <notice :message="message"></notice>
  </div>
</template>

<script>
import notice from "./notice";
export default {
  components: { notice },
  name: "HelloWorld",
  data() {
    return {
      message: "vue 滚动公告栏 <span>自定义文字</span> 滚动公告栏  <span>自定义文字</span>滚动公告栏 <span>自定义文字</span> 滚动公告栏 <span>自定义文字</span>"
    };
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1,
h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
